package com.sias.realestate.web.dao;

import java.util.List;

import com.sias.realestate.core.generic.GenericDao;
import com.sias.realestate.web.model.Tenement;

public interface TenementMapper extends GenericDao<Tenement, Integer>{
    int deleteByPrimaryKey(Integer tId);

    int insert(Tenement record);

    int insertSelective(Tenement record);

    Tenement selectByPrimaryKey(Integer tId);

    int updateByPrimaryKeySelective(Tenement record);

    int updateByPrimaryKey(Tenement record);
    
    List<Tenement> findAll();
    
    List<Tenement> findByNull();
    
    Tenement selectByIdcard(String idcard);
    
    int addList(List<Tenement> tenementList);
}